﻿Imports System.Data

Public Class ContainerStartInfo
    'ServerHostInfo
    Private v_ServerHostInfo As ServerHostInfo
    '批次号
    Private v_ContainerName As String
    '批次层次
    Private v_Level As String
    '所有者
    Private v_Owner As String
    '是否自制批次
    Private v_IsSelfMfg As Boolean
    '产品名称
    Private v_ProductName As String
    '产品版本
    Private v_ProductRevision As String
    '产品useROR
    Private v_ProductuseROR As Boolean
    '工艺流程名称
    Private v_WorkflowName As String
    '工艺流程版本
    Private v_WorkflowRevision As String
    '工艺流程useROR
    Private v_WorkflowuseROR As Boolean
    '机加工艺流程名称
    Private v_MfgWorkflowName As String
    '机加工艺流程版本
    Private v_MfgWorkflowRevision As String
    '机加工艺流程useROR
    Private v_MfgWorkflowuseROR As Boolean
    'WorkCenter
    Private v_WorkCenter As String
    'TEAM create  tianFW 2017/10/10
    Private v_Team As String
    '数量
    Private v_Qty As Double
    '计量单位
    Private v_UOM As String
    '开始原因
    Private v_StartReason As String
    '优先级
    Private v_Priority As String
    '车间
    Private v_Factory As String
    'Location
    Private v_Location As String
    '批次编号
    Private v_ContainerNo As String
    '订单号
    Private v_MfgOrder As String
    '子批次列表
    Private v_ChildList As DataTable
    '批次属性列表
    Private v_AttributeList As DataTable
    '是否创建新工艺流程版本
    Private v_IsNewWorkflowRev As Boolean

    '计划开始日期
    Private v_PlannedStartDate As String
    '计划完成日期
    Private v_PlannedCompletionDate As String
    '计划领料日期
    Private v_MaterialRequirementDate As String
    '创建人
    Private v_StartEmployee As String
    '合格证号
    Private v_Qualification As String
    '备注
    Private v_Comment As String
    '批次印章
    Private v_MfgBatch As String
    '军种
    Private v_TroopType As String
    '锻铸件数量
    Private v_QualificationQty As Integer
    '批次类型
    Private v_ContainerType As Integer
    '单件单卡批次标记
    Private v_TogetherFlag As String
    '密级
    'Private v_SecretLevel As Integer

    '工艺员
    Private m_CheckTechnique As String = ""
    '月度计划
    Private m_MonthPlan As String = ""
    '开始工序
    Private m_BeginStep As String = ""

    Private m_attributeName As String = ""

    Private m_attributeValue As String = ""

    Private m_ProductFamilyList As New Dictionary(Of Integer, String)
    '默认开卡到的序
    Private m_WorkflowStep As String = ""

    Public Property ProductFamilyList()
        Get
            Return m_ProductFamilyList
        End Get
        Set(ByVal value)
            m_ProductFamilyList = value
        End Set
    End Property

    Public Property MfgBatch()
        Get
            Return v_MfgBatch
        End Get
        Set(ByVal value)
            v_MfgBatch = value
        End Set
    End Property


    ''' <summary>
    ''' 属性值
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property attributeValue()
        Get
            Return m_attributeValue
        End Get
        Set(ByVal value)
            m_attributeValue = value
        End Set
    End Property

    ''' <summary>
    ''' 属性名称
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property AttributeName()
        Get
            Return m_attributeName
        End Get
        Set(ByVal value)
            m_attributeName = value
        End Set
    End Property

    ''' <summary>
    ''' 检查工艺规程工艺员
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property CheckTechnique()
        Get
            Return m_CheckTechnique
        End Get
        Set(ByVal value)
            m_CheckTechnique = value
        End Set
    End Property


    ''' <summary>
    ''' ServerHost信息
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property ServerHostInfo()
        Get
            Return v_ServerHostInfo
        End Get
        Set(ByVal value)
            v_ServerHostInfo = value
        End Set
    End Property

    ''' <summary>
    ''' 批次号
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property ContainerName()
        Get
            Return v_ContainerName
        End Get
        Set(ByVal value)
            v_ContainerName = value
        End Set
    End Property

    ''' <summary>
    ''' 批次层次
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property Level()
        Get
            Return v_Level
        End Get
        Set(ByVal value)
            v_Level = value
        End Set
    End Property

    ''' <summary>
    ''' 产品名称
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property ProductName()
        Get
            Return v_ProductName
        End Get
        Set(ByVal value)
            v_ProductName = value
        End Set
    End Property

    ''' <summary>
    ''' 产品版本
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property ProductRevision()
        Get
            Return v_ProductRevision
        End Get
        Set(ByVal value)
            v_ProductRevision = value
        End Set
    End Property

    ''' <summary>
    ''' 产品useROR
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property ProductuseROR()
        Get
            Return v_ProductuseROR
        End Get
        Set(ByVal value)
            v_ProductuseROR = value
        End Set
    End Property

    ''' <summary>
    ''' 工艺流程名称
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property WorkflowName()
        Get
            Return v_WorkflowName
        End Get
        Set(ByVal value)
            v_WorkflowName = value
        End Set
    End Property

    ''' <summary>
    ''' 工艺流程版本
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property WorkflowRevision()
        Get
            Return v_WorkflowRevision
        End Get
        Set(ByVal value)
            v_WorkflowRevision = value
        End Set
    End Property

    ''' <summary>
    ''' 工艺流程useROR
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property WorkflowuseROR()
        Get
            Return v_WorkflowuseROR
        End Get
        Set(ByVal value)
            v_WorkflowuseROR = value
        End Set
    End Property

    ''' <summary>
    ''' 机加工艺流程名称
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property MfgWorkflowName()
        Get
            Return v_MfgWorkflowName
        End Get
        Set(ByVal value)
            v_MfgWorkflowName = value
        End Set
    End Property

    ''' <summary>
    ''' 机加工艺流程版本
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property MfgWorkflowRevision()
        Get
            Return v_MfgWorkflowRevision
        End Get
        Set(ByVal value)
            v_MfgWorkflowRevision = value
        End Set
    End Property

    ''' <summary>
    ''' 机加工艺流程useROR
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property MfgWorkflowuseROR()
        Get
            Return v_MfgWorkflowuseROR
        End Get
        Set(ByVal value)
            v_MfgWorkflowuseROR = value
        End Set
    End Property

    ''' <summary>
    ''' 是否自制批次
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property IsSelfMfg()
        Get
            Return v_IsSelfMfg
        End Get
        Set(ByVal value)
            v_IsSelfMfg = value
        End Set
    End Property

    ''' <summary>
    ''' WorkCenter
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property WorkCenter()
        Get
            Return v_WorkCenter
        End Get
        Set(ByVal value)
            v_WorkCenter = value
        End Set
    End Property

    ''' <summary>
    ''' Team create tianFW 2017/10/10
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property Team()
        Get
            Return v_Team
        End Get
        Set(ByVal value)
            v_Team = value
        End Set
    End Property

    ''' <summary>
    ''' 所有者
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property Owner()
        Get
            Return v_Owner
        End Get
        Set(ByVal value)
            v_Owner = value
        End Set
    End Property

    ''' <summary>
    ''' 数量
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property Qty()
        Get
            Return v_Qty
        End Get
        Set(ByVal value)
            v_Qty = value
        End Set
    End Property

    ''' <summary>
    ''' 计量单位
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property UOM()
        Get
            Return v_UOM
        End Get
        Set(ByVal value)
            v_UOM = value
        End Set
    End Property

    ''' <summary>
    ''' 开始原因
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property StartReason()
        Get
            Return v_StartReason
        End Get
        Set(ByVal value)
            v_StartReason = value
        End Set
    End Property

    ''' <summary>
    ''' 优先级
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property Priority()
        Get
            Return v_Priority
        End Get
        Set(ByVal value)
            v_Priority = value
        End Set
    End Property

    ''' <summary>
    ''' 车间
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property Factory()
        Get
            Return v_Factory
        End Get
        Set(ByVal value)
            v_Factory = value
        End Set
    End Property

    ''' <summary>
    ''' Location
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property Location()
        Get
            Return v_Location
        End Get
        Set(ByVal value)
            v_Location = value
        End Set
    End Property

    ''' <summary>
    ''' 批次编号
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property ContainerNo()
        Get
            Return v_ContainerNo
        End Get
        Set(ByVal value)
            v_ContainerNo = value
        End Set
    End Property

    ''' <summary>
    ''' 订单号
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property MfgOrder()
        Get
            Return v_MfgOrder
        End Get
        Set(ByVal value)
            v_MfgOrder = value
        End Set
    End Property

    ''' <summary>
    ''' 子批次列表
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property ChildList()
        Get
            Return v_ChildList
        End Get
        Set(ByVal value)
            v_ChildList = value
        End Set
    End Property

    ''' <summary>
    ''' 是否创建工艺流程新版本
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property IsNewWorkflowRev()
        Get
            Return v_IsNewWorkflowRev
        End Get
        Set(ByVal value)
            v_IsNewWorkflowRev = value
        End Set
    End Property

    ''' <summary>
    ''' 计划开始日期
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property PlannedStartDate()
        Get
            Return v_PlannedStartDate
        End Get
        Set(ByVal value)
            v_PlannedStartDate = value
        End Set
    End Property

    ''' <summary>
    ''' 计划完成日期
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property PlannedCompletionDate()
        Get
            Return v_PlannedCompletionDate
        End Get
        Set(ByVal value)
            v_PlannedCompletionDate = value
        End Set
    End Property

    ''' <summary>
    ''' 计划领料日期
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property MaterialRequirementDate()
        Get
            Return v_MaterialRequirementDate
        End Get
        Set(ByVal value)
            v_MaterialRequirementDate = value
        End Set
    End Property

    ''' <summary>
    ''' 创建人
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property StartEmployee()
        Get
            Return v_StartEmployee
        End Get
        Set(ByVal value)
            v_StartEmployee = value
        End Set
    End Property

    ''' <summary>
    ''' 合格证号
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property Qualification()
        Get
            Return v_Qualification
        End Get
        Set(ByVal value)
            v_Qualification = value
        End Set
    End Property

    ''' <summary>
    ''' 备注
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property Comment()
        Get
            Return v_Comment
        End Get
        Set(ByVal value)
            v_Comment = value
        End Set
    End Property

  

    ''' <summary>
    ''' 批次类型：1 为普通单件批次，2 为普通数量批次， 3 为普通子序号批次，4 为普通子序号批次的单件子批次，5 为普通子序号批次的多件子批次，6 为虚拟批次， 7  为虚拟批次的单件子批次， 8  为虚拟批次的多件子批次
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property ContainerType()
        Get
            Return v_ContainerType
        End Get
        Set(ByVal value)
            v_ContainerType = value
        End Set
    End Property

    ''' <summary>
    ''' 单件单卡批次标记
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property TogetherFlag()
        Get
            Return v_TogetherFlag
        End Get
        Set(ByVal value)
            v_TogetherFlag = value
        End Set
    End Property


    ''' <summary>
    ''' 月度计划
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property MonthPlan

        Get
            Return m_MonthPlan
        End Get
        Set(ByVal value)
            m_MonthPlan = value
        End Set
    End Property

    ''' <summary>
    ''' 开始工序
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property BeginStep

        Get
            Return m_BeginStep
        End Get
        Set(ByVal value)
            m_BeginStep = value
        End Set
    End Property

    ''' <summary>
    ''' 开卡指定工序
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property WorkflowStep

        Get
            Return m_WorkflowStep
        End Get
        Set(ByVal value)
            m_WorkflowStep = value
        End Set
    End Property

    ''' <summary>
    ''' 批次属性列表
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property AttributeList

        Get
            Return v_AttributeList
        End Get
        Set(ByVal value)
            v_AttributeList = value
        End Set
    End Property

    ' ''' <summary>
    ' ''' 
    ' ''' </summary>
    ' ''' <value></value>
    ' ''' <returns></returns>
    ' ''' <remarks></remarks>
    'Public Property MfgBatch()
    '    Get
    '        Return v_MfgBatch
    '    End Get
    '    Set(ByVal value)
    '        v_MfgBatch = value
    '    End Set
    'End Property

    ''' <summary>
    ''' 叶片批次编号
    ''' add:Wangjh 20211104
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property YpContainerNo As String

    ''' <summary>
    ''' 叶片热处理号
    ''' add:Wangjh 20211104
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property YpHeatNo As String

    ''' <summary>
    ''' 叶片卡片号，此号和YpHeatNo业务上二选一
    ''' add:Wangjh 20211104
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property YpContainerCardNo As String

    ''' <summary>
    ''' 叶片流水卡类型，1：锻造，2：机加
    ''' add:zhangrj 20211109
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property YpContainerType As String

    ''' <summary>
    ''' 热表批次类型
    ''' add:Wangjh 20220117
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property RbContainerType As String

    ''' <summary>
    ''' 热表大批次号
    ''' add:Wangjh 20220117
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property RbTogetherflag As String

    ''' <summary>
    ''' 军工类型
    ''' add:Zhangrj 20220216
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property MilitaryType As String

    ''' <summary>
    ''' 1：订单直接开卡，分批卡
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property QualificationQty As String

    ''' <summary>
    ''' 备件
    ''' add:Zhangrj 20220628
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property PlannedQty2 As Object

    ''' <summary>
    ''' 批次序号，黎阳单件单卡和子序号的批次有值（containername.replace(togetherflag,'')）
    ''' add:Wangjh 20221115
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property QualificationNum As String
End Class

